added support for nested comments. added initial comment generation support