add generated SQL to comment