Hi @SB ,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
You might be using a third party published Wiql Editor extension which is unpublished and may not work.
Here is the official Wiql Editor link - https://marketplace.visualstudio.com/items?itemName=ms-devlabs.wiql-editor.
Firstly, Uninstall the older extension and then click on Get it Free button as in snip below.
It should look like below.
Please accept as Yes if the answer is helpful so that it can help others in the community.