I suggest you ...

Allow XAML nested comments

Support nested comments in XAML.

When trying things out I often comment out whole blocks of XAML.
This does not work if such a XAML block already contains commented lines.

8 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Peter MeinlPeter Meinl shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    XAML should be a well formed XML document for our parsers to work. Nested comments are something that is not supported by the XML standard. An alternative approach would be to split the commenting such that the required block of XAML is commented but will be split into multiple commented blocks so that the resulting document is well formed.

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Wouter VosWouter Vos commented  ·   ·  Flag as inappropriate

        Commenting is a real pain with XML in any case. They must not want comments to xml in principle.

      • Peter MeinlPeter Meinl commented  ·   ·  Flag as inappropriate

        I understand the problem with well formed XML, but this is an implementation detail.
        Nested XAML comments would be a very helpful feature to have. Maybe one of your devs can come up with a creative solution.

      Feedback and Knowledge Base