Closes #46104 Release Notes: - Fixed language injections sticking after language comment removed --- This is working well for the Python SQL comments  ```python from pyspark.sql import SparkSession spark = SparkSession.builder.getOrCreate() # sql cmd = "SELECT col1, col2 FROM tbl" df = spark.sql( # sql """ WITH cte AS ( SELECT col1, col2, COUNT(*) AS n FROM tbl GROUP BY ALL ) SELECT * FROM cte """ ) ``` And go comments  ```go package main func test() { var _ = /* sql */ `SELECT id, name FROM products` var _ = /* sql */ "SELECT id, name FROM products" var _ = /* sql */ `SELECT id, name FROM products` var _ = /* sql*/ "SELECT id, name FROM products" } ``` Note: `f04b252dd9` was a simpler implementation that worked for non-inline comments in Python, but produced the following Go behavior  --------- Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>