Probably one of the most1 common forms of escapes is the comment.
This may sound simple, but it can be tricky to keep the comments from interfering with the appearance of the final output.
If the escape is to the right of some text or a request, that portion of the line is ignored, but the space leading up to it is noticed by
gtroff. This only affects the
asrequest and its variants.Test \" comment Test
To avoid this, it is common to start the line with
.\"which causes the line to be treated as an undefined request and thus ignored completely.
Another commenting scheme seen sometimes is three consecutive single quotes (
''') at the beginning of a line. This works, but
gtroffgives a warning about an undefined macro (namely
''), which is harmless, but irritating.
Test \# comment Test
text text text... .ig This is part of a large block of text that has been temporarily(?) commented out. We can restore it simply by removing the .ig request and the ".." at the end of the block. .. More text text text...
producestext text text... More text text text...
Note that the commented-out block of text does not cause a break.
The input is read in copy-mode; auto-incremented registers are affected (see Auto-increment).
 Unfortunately, this is a lie. But
gtroff hackers will believe it