SQL Comments ANSI SQL-92 standard comments (--) and C++ standard comments (/*...*/, //) are supported. Comments can be nested. For example, in the following query columns col2, col3, and col4 are ignored: SELECT col1 /* col1 comment *//* col2,-- col2 comment col3,// col3 comment col4,/* col4 comment */*/FROM t1