code: def strip_comments_from_sql(statement: str) -> str:
      """
      Strips comments from a SQL statement, does a simple test first
      to avoid always instantiating the expensive ParsedQuery constructor
  
      This is useful for engines that don't support comments
  
      :param statement: A string with the SQL statement
      :return: SQL statement without comments
      """
      return (
          ParsedQuery(statement).strip_comments()
          if "--" in statement
          else statement
      )
  
imports: import logging
  import re
  from collections.abc import Iterator
  from dataclasses import dataclass
  from typing import Any, cast, Optional
  from urllib import parse
  import sqlparse
  from sqlalchemy import and_
  from sqlparse import keywords
  from sqlparse.lexer import Lexer
  from sqlparse.sql import Identifier, IdentifierList, Parenthesis, remove_quotes, Token, TokenList, Where
  from sqlparse.tokens import Comment, CTE, DDL, DML, Keyword, Name, Punctuation, String, Whitespace, Wildcard
  from sqlparse.utils import imt
  from superset.exceptions import QueryClauseValidationException
  from superset.utils.backports import StrEnum
label_desc: Use image node_id 4 for calling a global function with example usage: strip_comments_from_sql(statement) and returns: unknown