def _load_coverage_exclusion_list(path):
    """Load modules excluded from per-file coverage checks.

    Args:
        path: str. Path to file with exclusion list. File should have
            one dotted module name per line. Blank lines and lines
            starting with `#` are ignored.

    Returns:
        list(str). Dotted names of excluded modules.
    """
    exclusion_list = []
    with open(path, 'r', encoding='utf-8') as exclusion_file:
        for line in exclusion_file:
            line = line.strip()
            if line.startswith('#') or not line:
                continue
            exclusion_list.append(line)
    return exclusion_list