title: How do I comment all lines that match a search pattern in VIM
body: <p>I want to comment all lines that match a particular string. I am doing assembly programming, so lines are commented using ";" character. </p>
  
  <p>The string (pattern) may be present anywhere within the line. The comment should be added to the beginning of the line (obviously).</p>