4 SELECT 'trailing' AS first; -- trailing single line
10 SELECT /* embedded single line */ 'embedded' AS second;
16 SELECT /* both embedded and trailing single line */ 'both' AS third; -- trailing single line
22 SELECT 'before multi-line' AS fourth;
28 /* This is an example of SQL which should not execute:
29 * select 'multi-line';
31 SELECT 'after multi-line' AS fifth;
41 SELECT 'trailing' as x1; -- inside block comment
43 /* This block comment surrounds a query which itself has a block comment...
44 SELECT /* embedded single line */ 'embedded' AS x2;
46 SELECT -- continued after the following block comments...
47 /* Deeply nested comment.
48 This includes a single apostrophe to make sure we aren't decoding this part as a string.
49 SELECT 'deep nest' AS n1;
50 /* Second level of nesting...
51 SELECT 'deeper nest' as n2;
52 /* Third level of nesting...
53 SELECT 'deepest nest' as n3;
55 Hoo boy. Still two deep...
59 'deeply nested example' AS sixth;
61 -----------------------
65 /* and this is the end of the file */