The correct option is D joking
'Only joking' is a common phrase used by people to lighten a serious situation. Sometimes a person appears to be very serious but his intention is one of humour, so it's then when 'I'm only joking' is said. Thus, option D is correct and the others are not.