Add comment rendering function