Only display the line number if it's available
Recognize lines with only comments as lines
Inherit from std::runtime_error
Remove test which had previously been moved