add comment logic not blocking explicit texts and contents

Please format your post to mark the code blocks as preformatted text. (Use the ``` lines before and after each file’s contents. Remember, the ``` must be lines by themselves.)