Fix comment generation in the code to avoid newlines.