Resources‎ > ‎LaTeX‎ > ‎

Comments in LaTeX

In TeX/LaTeX source, everything after % until the end of a line is regarded as a comment.  However, if you have many lines to comment out adding % to the beginning of every line might be tedious.  You could use comment.sty and version.sty or you can do simply:

\if0
...
\fi
or
\iffalse
...
\fi

Comments