We see in Mark 12:28-34, the discussion between Jesus and the scribe, on the greatest commandment:
One of the scribes came near and heard them disputing with one another, and seeing that he answered them well, he asked him, “Which commandment is the first of all?” Jesus answered,..... ....... Then the scribe said to him, “You are right, Teacher; you have truly said that ‘he is one, and besides him there is no other’; and ‘to love him with all the heart, and with all the understanding, and with all the strength,’ and ‘to love one’s neighbor as oneself,’—this is much more important than all whole burnt offerings and sacrifices.” When Jesus saw that he answered wisely, he said to him, “You are not far from the kingdom of God.” After that no one dared to ask him any question.
Going by today's phraseology, Jesus was using a subtle language to compliment the scribe, at the same time to remind him that he would have to strive harder to get into the Kingdom of God. One can also look at the phrase 'not far' as an example of good humor, said in a lighter vein. Is the dialogue of Jesus with the scribe in Mark 12:28-34 an example of the Lord's sense of humor?