Bertrand Le Roy has released a tool called ScriptDoc that
parses .Net style XML comments in JavaScript files. Here is an example of a
method containing ScriptDoc style comments:
this.getItem = function(index)
{
/// <summary>
/// Gets an item in the filtered
data by index.
/// </summary>
/// <param name="index">The index in
the filtered data of the row to return.</param>
/// <returns>Null if the row was not
found.</returns>
return _filteredTable ? _filteredTable[index]
: null;
}
For more information read his blog post at
http://weblogs.asp.net/bleroy/archive/2006/05/01/444739.aspx