I have created one select list item under apex 18 and its list of value type is SQL query when I am adding some commented query with this select query then it automatically change in PL/sql Function body returning sql query. Please see below image and guide us for this issue.
Step 1: Here I have created one select list item name as p1_new

Step 2: Initially I select type as SQL query and wrote one script

Step 3: Here I wrote below query

Step 4: I save it and it shows as SQL query see below screen. Here it's type as SQL Query

Step 5: Now I simply edit code editor and added one commented sql qery and once again save it. Here I am not changing type.

Step 6: After saving item type got change as PL/SQL Function Body Returning SQL query see below image

If I remove commented code from here and save it then it working fine. Please suggest on this issue.