The VBScript REM statement is used to place a comment in your script or function. It is typically considered essential to place comments in code, not only to document what something does for others– but for yourself 6 months down the line.
Another short hand method of placing a comment in the code is to use the ‘ character to comment the code. Below are two examples:
Rem This is a comment
‘ This is a comment too
x=x+1 ‘this is a comment after a line of code, the code is processed and the comment is ignored.