


To uncomment a piece of code, highlight part of it and press Alt + Shift + A.To comment a portion of your code, highlight it and press Alt + Shift + A.Alternatively, you can use keyboard shortcuts. Multi-line comments need to be enclosed between /* and */. If you need to comment out one line, you can use two hyphens ( -) or two forward slashes ( //) in front of it. Some of the keyboard shortcuts are more useful than others - this blog post lists all that I am aware of. For instance, you can comment or uncomment portions of your code, go to a specific line of code, and do other things. There are several undocumented DAX formula bar keyboard shortcuts in Power BI Desktop.
