You can also use a single-quoted heredoc for this...
<<'WONKYCODE';
print "This code isn't technically "commented out" per se;
rather, it is interpreted as a string.
However, it won't execute, and because of the single
quotes it also won't interpolate. Assuming that the
code you treat this way is an entire expression (not
part of one), the string will be in void context and
so will have no effect, other than to remind you
that it's still here with a 'useless use of constant
in void context' warning.\n";
WONKYCODE