{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/4776","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/4776/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/4776/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/4776/events","html_url":"https://github.com/neo4j/neo4j/issues/4776","id":85499746,"number":4776,"title":"Establish a convention for CSV comments","user":{"login":"mindrones","id":1309648,"avatar_url":"https://avatars.githubusercontent.com/u/1309648?v=3","gravatar_id":"","url":"https://api.github.com/users/mindrones","html_url":"https://github.com/mindrones","followers_url":"https://api.github.com/users/mindrones/followers","following_url":"https://api.github.com/users/mindrones/following{/other_user}","gists_url":"https://api.github.com/users/mindrones/gists{/gist_id}","starred_url":"https://api.github.com/users/mindrones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindrones/subscriptions","organizations_url":"https://api.github.com/users/mindrones/orgs","repos_url":"https://api.github.com/users/mindrones/repos","events_url":"https://api.github.com/users/mindrones/events{/privacy}","received_events_url":"https://api.github.com/users/mindrones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T10:19:18Z","updated_at":"2015-06-05T11:18:40Z","closed_at":null,"body":"I'd like to comment rows for:\r\n- comment out data without delete it \r\n- documentation\r\n- navigation (a reference for the eye when manually scrolling long files containing \"blocks\" of data - different node/rel types for example)\r\n\r\nI see that [rfc4180](http://tools.ietf.org/html/rfc4180) doesn't indicate how to comment a row so I'm supposing it's left to the application to follow a convention.\r\n\r\nWould it be an option to establish a convention for CSV comments such that neo4j would not import comment lines?\r\n\r\nRight now this `single_line_comments.csv`\r\n\r\n\t:ID|:LABEL|name\r\n\t// comment 1\r\n\tfoo|NODE|\"foo\"\r\n\t// comment 2\r\n\tbar|NODE|\"bar\"\r\n\t// comment 3\r\n\r\nimports 2 nodes of type `NODE` and 3 nodes with no label.\r\n\r\n![screen shot 2015-06-05 at 12 53 46 pm](https://cloud.githubusercontent.com/assets/1309648/8004673/f1ae80f2-0b81-11e5-89a7-f7cddac81a2f.png)\r\n"},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/109260495","html_url":"https://github.com/neo4j/neo4j/issues/4776#issuecomment-109260495","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/4776","id":109260495,"user":{"login":"mindrones","id":1309648,"avatar_url":"https://avatars.githubusercontent.com/u/1309648?v=3","gravatar_id":"","url":"https://api.github.com/users/mindrones","html_url":"https://github.com/mindrones","followers_url":"https://api.github.com/users/mindrones/followers","following_url":"https://api.github.com/users/mindrones/following{/other_user}","gists_url":"https://api.github.com/users/mindrones/gists{/gist_id}","starred_url":"https://api.github.com/users/mindrones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindrones/subscriptions","organizations_url":"https://api.github.com/users/mindrones/orgs","repos_url":"https://api.github.com/users/mindrones/repos","events_url":"https://api.github.com/users/mindrones/events{/privacy}","received_events_url":"https://api.github.com/users/mindrones/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T11:18:40Z","updated_at":"2015-06-05T11:18:40Z","body":"Possibly we might have `neo4j-import` options to indicate which string we intend to use for comments.\r\n\r\n**`--line-comment`**\r\n\r\nThis string would indicate when we start a comment. For example\r\n\r\n    neo4j-import --into ../db --delimiter \"|\"  --line-comment \"//\" --nodes single_line_comments.csv\r\n\r\nwould skip line comments in `single_line_comments.csv` above.\r\n\r\n**`--block-comment`**\r\n\r\nThis string would indicate the start and the end of a multi-line comment. For example\r\n\r\n    neo4j-import --into ../db --delimiter \"|\"  --block-comment \"/**/\" --nodes block-comments.csv\r\n\r\nwould skip block comments in `block-comments.csv`:\r\n\r\n\t:ID|:LABEL|name\r\n\t/*\r\n\tmultiline comment\r\n\t*/\r\n\tfoo|NODE|\"foo\"\r\n\tbar|NODE|\"bar\""}}