Rather than comment like this, could you comment something like the following:

<!-- Uncomment the following block to test the CDI decorators feature -->
<!-- <decorators>
    <class>org.jboss.as.quickstarts.cdi.decorator.StaffServiceDecorator</class>
</decorators> -->

See some of the quickstart pom.xml files for how we comment XML files.