replace_with_comment does not create trailing whitespace

There don't seem to be any tests for this function, but it works...

I'd test with something like this:
`
my $content = $file->slurp;
unlike($content, qr/[^\S\n]\n/m, 'no trailing whitespace in munged code');`