Given a query like this:
-- query: TestQuery
SELECT
id, grass
FROM
mytable
WHERE
id != 3 -- this is a valid comment
AND grass = 'Green';
The entire id != 3 line is removed, and the query ends up as this invalid statement:
SELECT id, grass FROM mytable WHERE AND grass = 'Green';
Given a query like this:
The entire
id != 3line is removed, and the query ends up as this invalid statement: