improve comment entry and code blocks