Added printing of comments to *.actual test files

This enables testing of comment-handling code. Updated *.expected test
result files to account for printing of comments.
Removed unneeded newlines from parsed comments

Newlines from comments separated by lines are retained when comments
are appended, so adding a newline between separate comments for a
node is not needed.