Skip to main content

Commenting in the script


Commenting in the script

You can insert comments and remarks in the script code, or deactivate parts of the script code by using comment marks. All text on a line that follows to the right of // (two forward slashes) will be considered a comment and will not be executed when the script is run. Alternatively, you can enclose a section of code with /* and */.

You can also insert comments to the script using the Rem statement.


Rem This is a comment ;   /* This is a comment that spans two lines */   // This is a comment as well

See also