A comment line is any line with an asterisk (*) or slash (/) in the indicator area (column 7) of the line. The comment may be written anywhere in Area A and Area B of that line, and may consist of any combination of characters from the EBCDIC character set. A comment line may be placed anywhere in the program following the Identification Division header.
Multiple comment lines are allowed. Each must begin with either an asterisk (*) or a slash (/) in the indicator area.
An asterisk (*) comment line is printed in the output listing, immediately following the last preceding line. A slash (/) comment line is printed on the first line of the next page, and the current page of the output listing is ejected.
The compiler treats a comment line as documentation, and does not check it syntactically.
+-------------------------------IBM Extension--------------------------------+
DBCS characters may be imbedded in a comment line, but cannot be continued to a following line.
+----------------------------End of IBM Extension----------------------------+
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.