In the WDQS GUI, if you run a query without a #defaultView: comment (example), the result view button looks like this:
As soon as you select any result view (even if you just select “table” again), it shows that result view’s name and icon:
Likewise if the query contains a #defaultView: comment, even if it’s #defaultView:Table (link):