suppress
Use the suppress attribute with a value of true and the value will not be included in the output. However you can use that value in a perch:if statement.
<perch:content type="checkbox" id="instock" label="Item is in stock" value="true" suppress>