title: How to fold C++-style comments in Vim?
body: <p>Syntax folding in Vim makes it easy to create folds for regions, the start and end of which can be defined with regular expressions:</p>
  
  <blockquote>
    <p>syn region myRegion start="#region" end="#endregion" transparent keepend extend fold</p>
  </blockquote>
  
  <p>However, I am not sure how I can use syntax folding to define folds for C++-style comments, which are sets of lines beginning with "//".</p>