Introduction
                        
                            JSF as a markup language, supports comments of some parts of code, but we have be carefully, because if we use a normal HTML comment code like this:      <!-- I want to comment the next button -->     <!--                <h:commandButton value="Push" onclick="alert('Hello');" />     --> It's possible that it doesn't has commented anything. This is because JSF process this code as default, even if is commented between tags <!-- and -->.  There are two solutions to comment any JSF code
                        
                        Syntax
- <ui:remove> JSF code that you want to comment </ui:remove>
You can find more information at Oracle documentation: