# Attribute Comment Syntax for UX Markup 

**URL:** <https://forums.fusetools.com/t/attribute-comment-syntax-for-ux-markup/747>\
**Category:** Feature Suggestions\
**Created:** [July 31, 2017, 11:32am UTC](https://forums.fusetools.com/t/attribute-comment-syntax-for-ux-markup/747 "2017-07-31T11:32:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SkillsPlanet](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/skillsplanet/32/459_2.png) [@SkillsPlanet](https://forums.fusetools.com/u/SkillsPlanet)\
**Post date:** [July 31, 2017, 11:32am UTC](https://forums.fusetools.com/t/attribute-comment-syntax-for-ux-markup/747/1 "2017-07-31T11:32:46Z")

</div>

I don’t know if you already have a better way to do this, but perhaps skip (“comment out”) tag attributes that begin with an underscore (\_), like so:

```
<ScrollView _Dock="Top" > <-- skip Dock attribute as if not present

```

This is probably a five minute code change but would allow developers to quickly enable/disable attributes.

Pete Alvin  
Charlotte, NC, USA

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [July 31, 2017, 11:46am UTC](https://forums.fusetools.com/t/attribute-comment-syntax-for-ux-markup/747/2 "2017-07-31T11:46:28Z")

</div>

It’s a limitation of XML syntax that it doesn’t have a standard way to comment out attributes. The approach I usually take is to top the line and copy out the original:

```auto
<!-- <ScrollView Dock="Top"> -->
<ScrollView>

```

---

<div class="post-metadata">

**Author:** ![SkillsPlanet](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/skillsplanet/32/459_2.png) [@SkillsPlanet](https://forums.fusetools.com/u/SkillsPlanet)\
**Post date:** [July 31, 2017, 11:50am UTC](https://forums.fusetools.com/t/attribute-comment-syntax-for-ux-markup/747/3 "2017-07-31T11:50:47Z")

</div>

I appreciate that (that’s what I do, too). But it SURE WOULD BE NICE just to add an underscore (\_)… perhaps consider adding that???

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [July 31, 2017, 11:54am UTC](https://forums.fusetools.com/t/attribute-comment-syntax-for-ux-markup/747/4 "2017-07-31T11:54:24Z")

</div>

We can consider it, but we don’t really like to expand the non-standard syntax too much. It interferes with other tools, as well as interfering with our tools. We have to support this syntax in a variety of places, including proper round-trip in Preview. It’s unforunately not just a matter of ignoring those attributes in one place.
