replace_with_comment does not create trailing whitespace