select 1; select ";"; select "select """a""";"; select /* ; */ now(); select 'Neon''s Postgres;'; select e'Neon\'s Postgres;'; select e'continuation' 'Neon\'s Postgres;'; select $$;dollar string;$$; select $end$;dollar string;$end$; select id$end$id; select 😀$end$id; /* just a comment */; -- etc.
Code on GitHub