The correct answer is: D. No improvement

The phrase "take something to heart" means to be emotionally affected by something. In this sentence, the speaker is telling the listener not to be emotionally affected by what the speaker has said. The phrase "out of affection" means that the speaker said what they said because they care about the listener. Therefore, the listener should not take what the speaker said personally.

The other options are incorrect because they do not make sense in the context of the sentence. Option A, "in heart," does not make sense because it is not a common phrase. Option B, "it in the heart," is grammatically incorrect. Option C, "by the heart," is also grammatically incorrect and does not make sense in the context of the sentence.