Separated HTML and API for comments