I think John did that to knock Charles down a few pegs, but also I think he wanted to try and gain Diana's trust by comforting her. Then Diana would trust him and think that he wasn't that bad.
Shelly's acting here. Stunning. John also exposed Charles as the murderer he is. Next time Diana should not talk shit about Cassie. XD Oh wow. An angry vengeful Cassie. Epic!