@fivejedjon, your answer is ambiguous. The first two sentences say no, and the third say yes. Did you mean that for cases such as the second sentence, where 'that' is used directly, there shouldn't be a comma, but if there's an additional sentence between 'that' and the object it refers to, such as in my sentence, then commas are fine?