Just like any other programming languages, you can comment out code in a PowerShell script for documentation purposes.
To comment out a single line, put '#' in the beginning:
To comment out multiple lines, put <# at the beginning and #> at the end of code.