integrating comments into generated code