The following table lists comment styles supported by the COBOL editor.
Style
Description
Style A
If "*", "/", "D", or "d" is in the indicator area (column 7) of a line, the entire line is treated as a comment line.
Style B
If a line contains "*>", the part from that point to the end of the line is treated as a comment.
Style C
Characters described in the program identification area (column 73 and subsequent columns) are also treated as a comment.
Note
The fixed format supports all of the above comment styles.
The variable format supports style A and style B. In the variable format, column 252 and subsequent columns are treated as a comment.
The free format supports style B.