comment-pln – Comment macros for use in Plain TeX
Defines macros \comment and \endcomment such that everything between the two is ignored.
Maybe you are interested in the following packages as well.
- codesection: Provides an environment that may be conditionally included
- version: Conditionally include text
- multiaudience: Several versions of output from the same source
- renditions: Multiple versions from the same content