COMMENT |
Purpose: | Mark a block of comments in a batch file |
Format: | COMMENT |
.
.
.
ENDCOMMENT
Usage:
COMMENT can only be used in batch files. Both COMMENT and ENDCOMMENT must be entered as the only commands on their respective lines, and cannot be included in a command group.
The COMMENT command is useful for entering multiline comments without having to prefix each line with a REM.
The lines between COMMENT and ENDCOMMENT are not parsed. As a consequence, no environment variable expansion or other processing is performed. This makes it easy to include special characters, e.g., < | > in the text.