import re


def _remove_qss_comment(stylesheet: str) -> str:
    """Remove qss comment from the stylesheet string."""
    stylesheet = re.sub(r" */\*[\s\S]*?\*/", "", stylesheet)
    # Change blank lines to one blank line
    return re.sub(r"\n\s*\n", "\n", stylesheet)