Yes, he is trolling HN with the title, because you can get sadly predictable conversations like this one.
The title is specifically intended to be a double entendre (and kind of a clever one). If you really want to disassemble this whole thing, it's the clever use of "diet" that makes the pun.