Strip trailing line comments when reading a file for sourceCpp

This extends the parser in a simple way -- we strip trailing line comments when reading a file, thereby working with e.g. #138.