# Quick Multiline Comment Command in LaTeX

I've found multiline comments to be necessary in programming, and in LaTeX as well. Especially when I want to restart writing something, but still keep the older text for ideas and reference. Since LaTeX does not have it built in, I just include a simple line before my "\begin{document}":

\newcommand{\mcomm}[1]{}

This essentially says to create a new command \mcomm (multi-line comment) that takes one command, and replaces it with literally nothing. This creates the same effect as a comment, since it essentially just removes the piece of text at compile time.

Quick MVP if you want to test it yourself:

\documentclass{article}\newcommand{\mcomm}[1]{}\begin{document}I'm going to show up!\mcomm{But not me,or me, or this equation $e^{i\pi} = -1$.}\end{document}