Adds comment handling functions and comment markup