IniInlineCommentMode Enum
Where a comment can start other than at the beginning of a line.
public enum IniInlineCommentModeRemarks
A line whose first character other than whitespace is ; or # is always a comment. What differs between INI dialects is whether those characters also start a comment after a key, a value, or a section name.
Fields
| Name | Value | Description |
|---|---|---|
None | 0 | Only whole lines are comments: url=http://host/#top ; note has the value http://host/#top ; note. |
AfterWhitespace | 1 | ; or # starts a comment when whitespace precedes it: url=http://host/#top ; note has the value http://host/#top. This is what Python's configparser does with inline comment prefixes. |
Anywhere | 2 | ; or # starts a comment wherever it is: password=abc#123 has the value abc. |