Using in comments in JSF web pages seems to be a kind of a problem. At least using Apache MyFaces (http://myfaces.apache.org) / Apache MyFaces Tomahawk (http://myfaces.apache.org/tomahawk/) or JBoss Seam (http://www.seamframework.org), because these two implementation just don’t interpret comments as comments.

<h:form id="addNewUser">
    <h:panelGrid columns="3" border="0">
        <h:outputLabel styleClass="create-form-font">Other company:</h:outputLabel>
        <h:inputText id="idadduserothercompany" style="width: 175px;" value="#{addAction.otherCompany}" />
        <h:panelGroup>
            <!-- empty col-->
        </h:panelGroup>

        <!-- new row -->
        <h:outputLabel styleClass="create-form-font">Company number:</h:outputLabel>
        <h:inputText id="idaddusercompanynumber" style="width: 175px;"  value="#{addAction.companyNumber}" />
        <h:panelGroup>
            <!-- empty col-->
        </h:panelGroup>
    </h:panelGrid>
</h:form>

resulted in

<table border="0">
<tbody>
    <tr>
        <td>
            <label class="create-form-font">Other company:</label>
        </td>
        <td>
            <input id="addNewUser:idadduserothercompany" type="text"
            name="addNewUser:idadduserothercompany" style="width: 175px;" />
        </td>
        <td><!-- empty col--></td>
    </tr>
    <tr>
        <td><!-- new row --></td>
        <td>
            <label class="create-form-font">Company number:</label>
        </td>
        <td>
            <input id="addNewUser:idaddusercompanynumber" type="text" 
            name="addNewUser:idaddusercompanynumber" style="width: 175px;" />
        </td>
    </tr>
    <tr>
        <td><!-- empty col--></td>
    </tr>
</tbody>
</table>

At least using facelets, you can add this to your web.xml to get comments interpreted as comments.

<context-param>
  <param-name>facelets.SKIP_COMMENTS</param-name>
  <param-value>true</param-value>
</context-param>

See also this link to the JBoss Seam Forum