def METHOD_NAME(text: str) -> list[str]:
    """Parse text per line skipping empty lines and comments."""
    ret: list[str] = []
    for line in text.splitlines():
        line = line.strip()
        if not line:
            continue
        if line.startswith('#'):
            continue
        ret.append(line)
    return ret