remove lines with comments containing dashed lines

Command used:

    sed -ri '/\/\/ ?-+$/d'
remove comments containing dashed lines

Command used:
    sed -ri 's/(.*)\/\/ ?-+$/\1/g' "$file"
remove comments with asterisk lines
fix style format issues

This issues popped up after the removal of several comments.
Merge pull request #31 from toxeus/removeDashedLines

Remove comments with various lines