I can rename it if you prefer, but the point is that when it's ad hoc SQL we need to know the type of the underlying query, e.g. so the the update count can be updated. Otherwise type==queryType.

The comment describes the current usage, but the role of the variable is to record the type of the actual final query, whether or not it's wrapped in EXEC @Adhoc.