title: Commented out variable gives PS-Terminal Error (#$Var = error)
body: <p>I have a problem with VSCode terminal that started with the latest version.
  It might be a bug or just a setting that I have missed, therefore I want to ask you before I report it as a bug.</p>
  
  <pre>
  Version 1.19.3
  Commit 7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba
  Date 2018-01-25T10:36:34.867Z
  Shell 1.7.9
  Renderer 58.0.3029.110
  Node 7.9.0
  Architecture x64
  </pre>
  
  <p>I have a file with different functions that I just for Office365 administrative tasks.</p>
  
  <p>I always open the file in VSCode and run it (<kbd>F5</kbd>) and then I call the functions from another file.
  But with the latest VSCode upgrade, when I run the file I get these errors in the terminal window. The errors point to lines that I have commented out (<code>#</code>).
  In every function I first have commented lines with explanations to every variable that I use, like this: <code>#$UserName = the Name of the user</code>.
  If I remove the <code>$</code> sign after the comment-char <code>#</code> then the error for that line disappears.</p>
  
  <p>The issue is not that I dont use the proper comment-based help syntax.
  It is the fact that I have commented out variables that I don't use and that raises an error when I run (<kbd>F5</kbd>) the file in VSCode.</p>
  
  <p>Does anyone have an explanation to why I can't have <code>#$Var</code> in my code.</p>
  
  <pre>
  At C:\Users\anno\OneDrive för företag\Powershell\Script\Anslut_till_O365.ps1:44 char:3
  +     #$UPN: anvnamn & epostadress
  +      ~~~~~
  Variable reference is not valid. ':' was not followed by a valid variable name
  character. Consider using ${} to delimit the name.
  
  At C:\Users\anno\OneDrive för företag\Powershell\Script\Anslut_till_O365.ps1:45 char:3
  +     #$Firstname: FÃ¶rnamn
  +      ~~~~~~~~~~~
  Variable reference is not valid. ':' was not followed by a valid variable name
  character. Consider using ${} to delimit the name.
  
  At C:\Users\anno\OneDrive för företag\Powershell\Script\Anslut_till_O365.ps1:46 char:3
  +     #$Lastname: Efternamn
  +      ~~~~~~~~~~
  Variable reference is not valid. ':' was not followed by a valid variable name
  character. Consider using ${} to delimit the name.
  
  At C:\Users\anno\OneDrive för företag\Powershell\Script\Anslut_till_O365.ps1:47 char:3
  +     #$Title: Medlemsnr inkl filialnrâ,¬
  +      ~~~~~~~
  Variable reference is not valid. ':' was not followed by a valid variable name
  character. Consider using ${} to delimit the name.
  </pre>
  
  <p>Below is the the first lines in the function that the Error is complaining about.</p>
  
  <pre><code>Function CreateNewE1User {
      #$UPN: anvnamn &amp; epostadress
      #$Firstname: Förnamn
      #$Lastname: Efternamn
      #$Title: Medlemsnr inkl filialnrEUR
      #$Displaynamn: Visningsnamn (Kedja Ort (Butiksnamn), Förnamn Efternamn KEDJA
      #$PWD: Tillfälligt lösenord
      #param ($UPN,$Firstname,$Lastname,$Title,$Displaynamn,$PWD,$SMTP)
  
      Param(
          $UPN,
          $Firstname,
          $Lastname,
          $Title,
          $Displaynamn,
          $PWD='Password01'
      )
  
      #skapa ny användare
      New-MsolUser -UserPrincipalName $UPN -FirstName $Firstname -LastName $Lastname -Title $Title -DisplayName $Displaynamn -UsageLocation "SE" -PasswordNeverExpires $false
  }
  </code></pre>