How can we add multiline comment in powershell script?
$a=10 $b=20
writ-host "Sum"
You can use the <# and #> symbols to create a comment block.
<#
$a=10
$b=20
writ-host "Sum"
#>
Documentation: https://learn.microsoft.com/en-us/powershell/scripting/developer/help/syntax-of-comment-based-help?view=powershell-7.1