Add a newline to the separator check only if the command contains a comment.
Add a newline to the separator check only if the command contains a comment.

* heroku run seems to have some weird problems with
newline so don't always add it

snap-ci/bash-session