Microsoft® JScript Comment Statements See Also |
Language Reference
|
Causes comments to be ignored by the JScript parser.
Single Line Comment:
// comment
Multi-Line Comment:
/*
comment
*/
The comment argument is the text of any comment you want to include.
Use comments to keep parts of a script from being read by the JScript parser. You can use comments to include explanatory remarks in a program.
If Syntax #1 is used, any text between the comment marker and the end of the line is ignored by the parser. If Syntax #2 is used, any text between the beginning and end markers is ignored.