title: ignore whitespace and lines begining with # in php
body: <p>As per title, I am importing a file, each line is then exploded to separate out the different parts of the line, however I have some lines which begin with either '#' or whitespace, all of which should be ignored. How is best to do this?</p>