You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Option "columns" generate records as object literals instead of arrays.
5
+
keywords: ['csv', 'parse', 'options', 'columns']
6
+
---
7
+
8
+
# Option `comment_no_infix`
9
+
10
+
The `comment_no_infix` option restricts the definition of comments to full lines. Comment characters defined in the middle of a line are not interpreted as such.
11
+
12
+
Comments are disabled by default. Thus, this option only takes effect when comments are activated.
13
+
14
+
* Type: `boolean`
15
+
* Optional
16
+
* Default: `false`
17
+
* Since: `5.5.0`
18
+
* Related: [`comment`](/parse/options/comment/)— see [Available Options](/parse/options/#available-options)
19
+
20
+
## Example
21
+
22
+
While the default behavior generates `[ [ 'a', 'b' ] ]`, activating `comment_no_infix` in the example below disregards the comment character present in the second line.
0 commit comments