1
+ ' SYNTAX TEST "source.vba" "comments"
2
+
3
+ ' This is a comment with without indentation
4
+ ' <-------------------------------------------- comment.line.apostrophe.vba
5
+
6
+ ' This is a comment with indentation
7
+ ' ^^^^^^^^^^^^^^^^^^^ comment.line.apostrophe.vba
8
+
9
+ 10 ' Comment with line number
10
+ ' <-- constant.numeric.vba
11
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.apostrophe.vba
12
+
13
+ Label1: ' Comment with label
14
+ ' ^^^^^^^^^^^^^^^^^^^^ comment.line.apostrophe.vba
15
+
16
+ Dim x as Long 'Comment at the end of a line
17
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.apostrophe.vba
18
+
19
+ Dim x As Long : 'Comment with colon
20
+ ' ^^^^^^^^^^^^^^^^^^^ comment.line.apostrophe.vba
21
+
22
+ ' This is the start of a comment block _
23
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block.vba
24
+
25
+ ' This is a comment _
26
+ continued on the next line
27
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block.vba
28
+
29
+ ' This is a comment _
30
+ continued on the next line _
31
+ and another line
32
+ ' ^^^^^^^^^^^^^^^^ comment.block.vba
33
+
34
+ Rem This is a remark without indentation
35
+ ' <-------------------------------------- comment.line.remark.vba
36
+
37
+ Rem This is a remark with indentation
38
+ ' ^^^^^^^^^^^^^^^^^^^^ comment.line.remark.vba
39
+
40
+ 10 Rem Comment with line number
41
+ ' <-- constant.numeric.vba
42
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.remark.vba
43
+
44
+ Label1: Rem Comment with label
45
+ ' ^^^^^^^^^^^^^^^^^^^^^^ comment.line.remark.vba
46
+
47
+ Dim x as Long Rem Comment at the end of a line
48
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - comment.line.remark.vba
49
+
50
+ Dim x As Long : Rem Comment with colon
51
+ ' ^^^^^^^^^^^^^^^^^^^^^^ comment.line.remark.vba
52
+
53
+ Rem This is the start of a comment block _
54
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block.vba
55
+
56
+ Rem This is a comment _
57
+ continued on the next line
58
+ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block.vba
59
+
60
+ Rem This is a comment _
61
+ continued on the next line _
62
+ and another line
63
+ ' ^^^^^^^^^^^^^^^^ comment.block.vba
0 commit comments