I agree with this feature request and am surprised it doesn't exist already. Here's my similar write up of the request:
When using the Power Query editor I would like to see an additional option in the Steps right-click menu to allow me to Comment or Uncomment a step. When debugging I often create filters and I'd like to be able to easily turn them on or off. Commenting a step would use the same logic as your Delete command by updating any referencing steps to refer to the step above, but instead of removing the step it would prefix it with //.
You could make the prefix include another character like "//!" so it could discern between commented steps and regular comments. Commented steps with the special prefix could still show in the Steps panel but with distinct formatting (green font, italics, etc.). The developer could right-click on a commented step to restore it. The assumption would have to be that any references to the step above would now point to the restored step.
Vote for this if you think it would save you time troubleshooting your queries.
Recent ideas
Disable App Sharing Notification to Audience
Can we have the option to turn off the notification when we add people to an audience in Power BI Apps? Sometimes, I want to share an app with a wider group of people, but I don't want to notify all ...Donaldsoncc2 hours agoNew MemberNew2Views0likes0CommentsUser Interface customization - HomePage & Help and support
Hi, 1st idea: It would be great if administrators could customize the Fabric/Power BI Home page. Today, users can choose between three predefined layouts (Copilot, Simplified, and Expanded). Allowin...XCT5 hours agoResolver INew4Views0likes0CommentsSort Group Members Alphabetically in Power BI
When creating or editing groups in Power BI Desktop, the values displayed under“Groups and members” are not sorted alphabetically. When working with large lists, this makes it unnecessarily difficul...Macpanzer5 hours agoNew MemberNew3Views0likes0CommentsOverview of all Item permissions in a Workspace
We need a single page overview where we can see a complete list of which users and security groups have item permissions on any Item in the workspace. Today, we need to click on every single It...frithjof_v7 hours agoCommunity ChampionNew1.3KViews14likes3CommentsSupport report-level DAX measures in Power BI Publish to web
Report-level measures are especially useful for thin reports that connect to a shared semantic model. They allow report authors to create calculations required only for a particular report without mo...v-viputta18 hours agoMicrosoft EmployeeNew12Views4likes0Comments