File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -103,18 +103,18 @@ p.getComment("port") // Returns ["# Port number to", "# use for the server"]
103
103
### Comments
104
104
105
105
Just like with the original ` Properties ` implementation, lines starting with a
106
- ` # ` or a ` ! ` are considered comments. Consecutive comments lines that start
107
- with the same comment character and have no other lines in between (not even
108
- empty lines) are considered a single multi-line comment.
106
+ ` # ` or a ` ! ` are considered comments. Consecutive comments lines (even the ones
107
+ that start with another comment character) and have no other lines in between
108
+ (not even empty lines) are considered a single multi-line comment.
109
109
110
110
``` properties
111
111
# A single comment line
112
112
113
113
! A multi-line comment
114
114
! spanning two lines
115
115
116
- # This is actually a single comment line
117
- ! And this is a single comment line too
116
+ # This is also a multi-line comment
117
+ ! but using different comment chars
118
118
two =Second value
119
119
```
120
120
You can’t perform that action at this time.
0 commit comments