This limitation exists only in one case: for console scripts (on Console Side tab) that are executed under an explicitly specified account.
Therefore, as a workaround, you can:
1) Turn off "Use the following account to run scripts" option and execute the script under the current account.
2) Run script on a domain controller (use DC Side tab).
3) Remove unnecessary comments from the script.