You get ora-00911 every time when your sql statement has -- after ;.
from dual ; --
Which seems to be consistent with the official SQL*Plus behaviour:
I know it's a bit of nuisance but I haven't addressed this yet as it is "compatible" with official behaviour.
Recent comment should have been added using my username...