feat(generator): Add optional flag to preserve comments

Add ability for generators to preserve doc comments when parsing source code.

Closes: #74