title: Boost Program_options config file comments
body: <p>I have a program that reads a large number of variables from a configuration file using boost::program_options.  The configuration file is working and reading the values, however since there are many options in the file, I would like to document them in place.  For example I want the config file to look like:</p>
  
  <pre><code># Here is a description of flag1
  #    flag1 = true means blah blah blah
  #    flag1 = false means ...
  flag1=true
  # Here is a description of flag 2
  .
  .
  .
  </code></pre>
  
  <p>The issue is that I can not find documentation anywhere that describes a way to do this.  I am fairly certain that I could use something such as <code>a=</code> for my comment delimiter, and simply assign all the comments to a <code>std::vector&lt;string&gt;</code> to be thrown away after parsing, however I would like to know if there is a more appropriate way to handle comment lines in a configuration file.</p>