Make comment format match others in file.
Ensure generated file ends with a newline character.