ThisThe following [[Fortran IV]] code fragment demonstrates how comments are used inshows that language,comment whichsyntax is very column-oriented. A letter "<code>C"</code> in columnthe 1first column causes the entire line to be treated as a comment.
<syntaxhighlight lang="fortranfixed">
C
C Lines that beginbeginning with 'C' (in the first or(a.k.a. 'comment') column) are comments
C
WRITE (6,610)
Line 627:
</syntaxhighlight>
The following [[Fortran|Fortran 90]] code fragment shows a more modern line comment syntax; text following <code>!</code>.
Note that the columns of a line are otherwise treated as four fields: 1 to 5 is the label field, 6 causes the line to be taken as a continuation of the previous statement; and declarations and statements go in 7 to 72.
====Fortran 90====
This [[Fortran]] code fragment demonstrates how comments are used in that language, with the comments themselves describing the basic formatting rules.