If you're getting this problem with an insert that looks like the one below, the problem may simply be the lack of a space between --
and the comment text:
insert into myTable (a, b, c)
values (
123 --something
,345 --something else
,567 --something something else
);
The problem with this is that the --something
should actually be -- something
with a space.