GenCode - Apply SQL-escaping to table comments

Fix regression stemming from 9e64deca
Merge pull request #2787 from totten/master-gencode-escape

GenCode - Apply SQL-escaping to table comments