Handle empty source, with and without comments
Merge pull request #343 from troessner/issue-336-handle-empty-source-with-comments

Handle empty source, with and without comments