PowerShell: Comment Syntax
Line Comment
Line comment start with NUMBER SIGN # to end of line. Anything in between is ignored.
# this is a comment # adds 2 numbers 3 + 4 # result is 7
Block Comment
Block comment start with
<#
and ends wiht
#>
.
Anything in between is ignored.
<# This is a block comment Can be multiple lines. #>