> I have come across a very strage situation in which
> the behaviour of groff seems to depend on:
>
> a. whether it happens in a diversion or not and
> b. the presence of a comment.
Multiline conditionals are a bit tricky.
The following conditionals should work:
.if condition stuff
.if condition \
stuff
.if condition \{stuff\}
.if condition \{\
stuff\}
.if condition \{\
stuff
more stuff\}
.if condition \{\
stuff
more stuff
.\}
.if condition \{.\" comment
stuff
more stuff
.\}
Note the "dot" version of the comment in the last example.