The syntax rules for pg ($$) escaped string literals in cqlsh do not match the lexer rule for this type in Lexer.g.
The unclosedPgString rule is not correctly matching pg string literals in multi-line statements so:
fails with a syntax error at the forward slash.
Both pgStringLiteral and unclosedPgString fail with the following string
where this is allowed by the CQL lexer rule.