title: Delete all comments in a file using sed
body: <p>How would you delete all comments using sed from a file(defined with #) with respect to '#' being in a string?</p>
  
  <p><a href="https://stackoverflow.com/questions/8206280/delete-all-lines-beginning-with-a-from-a-file">This</a> helped out a lot except for the string portion.</p>