https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554
--- Comment #14 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Is there any way to do multiline comments in gfortran? Am attempting to write expected output like this: ! { dg-begin-multiline-output "" } EXPECTED OUTPUT TO GO HERE ! { dg-end-multiline-output "" } If not, I may need to require every line within the begin/end to start with a "! " and to strip that.