Start by thanking the person for the invitation. This shows that you appreciate their thoughtfulness and consider it an honor to be invited. Saying something like, "Thank you so much for thinking of me," sets a positive tone for your response. It makes the other person feel valued and respected, even if you cannot attend.