Did you try this package?
I am not a SQL expert, but pasting your lines into ST and applying Oracle PL/SQL syntax seems to work properly.
Comment lines starting with
-- are greyed out, but your
The also provided syntax
Oracle SQL doesn't work at all - no idea why.