Improved comments refactoring output.

When converting multiple lineComments to a single Javadoc, copied existing indentation
during conversion of the first and last lineComment.
Code cleanup + formatting.