title: How to comment or ignore a line in the txt file using FileHelpers
body: <p>IgnoreFirst(int) or IgnoreLast(int) only ignore a fixed number of lines as header or footer. But I like to ignore or comment a specific line(s) in the txt/csv file. For example like below (ignore some paragraphs or a specific line in txt/csv):</p>
  
  <pre><code>############# This is a comment ##########
  /* Some comment paragraph  
  some more comments
  last line of comment */
  1,Foo,FooItem1
  2,Foo,FooItem2
  3,Goo,GooItem3
  #4,Doo,DooItem4 &lt;-- ignore. 
  5,Eoo,EooItem5
  </code></pre>
  
  <p>I have read about BeforeReadRecord and SkipThisRecord that could potentially resolve this problem, but the documentation is as simple as the image, and has no explanation nor supply an example. </p>
  
  <p><a href="https://i.stack.imgur.com/pnExU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pnExU.png" alt="enter image description here"></a></p>