add support for multiple statements

- partly fixes #14
test case for multi-line input with single blank line
quickfix to skip comment lines