A batch file (batch script) in Windows is a text file that typically has a .bat extension and includes one or more command prompt commands.
It is a good practice to comment a source code in a batch file by leaving the remarks that explain functionality of some lines or blocks of code.
Also any line or a block of code in a batch file can be disabled by turning it into a comment (comment out) and enabled back (uncomment).
This note shows how to comment batch files in Windows. (more…)