import json


def _read(config_filename):
    """Read a comment-augmented json file from the given filename."""
    with open(config_filename) as f:
        lines = f.readlines()
    content_lines = [l for l in lines if not l.lstrip().startswith('//')]
    content = ''.join(content_lines)
    return json.loads(content)