The comment of batch processing is:
Rem
By the way, this is the case, and the following will not be approved. Usage:
Rem starts to open the program Loop
In batch processing, segment annotations are commonly used:
Goto start
= It Can Be multi-line text or a command
= Can contain redirection symbols and other special characters
= As long as the line "start" is not included, it will all be comments.
: Start
In addition, there are other forms of annotations, such:
1.: Comment content (the first colon can also be followed by any non-alphanumeric character)
2. Rem comments (redirection and pipeline symbols are not allowed)
3. echo comments (redirection and pipeline symbols are not allowed)> NUL
4. if not exist NUL annotation content (the redirection and pipeline symbols cannot appear)
5. Comment content (the comment text cannot be duplicated with existing labels)
6.% comment content % (can be used as line comment and cannot contain redirection or pipeline symbols)
7. Goto tag annotation content (it can be used to describe the Goto conditions and execution content)
8. Tag annotation content (which can be used as the execution content of the lower part of the tag)
Reference from: http://blog.sina.com.cn/s/blog_605f5b4f0100okdq.html