import re


def _removeComments(s, execute=0):
    """
    removes line comments (lines starting with `//`)
    """
    if not execute: return s
    return re.subn("\s//.*$", "", s, flags=re.MULTILINE)[0]