if this friend has redeeming traits, ignore the overly critical comments or make a joke by saying something like, 「let「s see if you can last an hour without saying anything negative.」
如果这个朋友也有一些可以弥补缺点的优点,那你就不要把他过度挑剔的意见放在心上,或者开个这样玩笑,如:「让我们看看如果你不发表任何批判意见,是不是能坚持一个小时」。