I don't know if I have bad delivery on my jokes or if my humor is just bad
For context, my partner and I were visiting their parents, and their grandparents also came to eat dinner with us. Their granddad was cooking (boiling?) some asparagus me and my partner brought with us, and my MIL asked if he had a timer on them, because she thought they looked ready.
He explained to my MIL that asparagus need approximately 10-12 minutes for the best results. In my language asparagus is spelled "asparges" and can kind of sound like Aspergers depending on your pronunciation.
I thought I had a genius idea for a joke, so I said that I too had read somewhere "that boiling [persons with] Aspergers for 10-12 minutes should effectively cure autism".
Their granddad and grandma gave me two very nervous/mortified looks and I was so embarrassed I wanted to run away. My MIL didn't even hear the joke and the rest of the family was in a different room. I tried to lie and tell them that the pack of asparagus had a spelling mistake so it said Aspergers to do some damage control, and they seemed to relax a bit and went "ah". I ended up throwing the original pack out so they couldn't confirm the spelling.
I still cannot tell if I was genuinely just unfunny. My partner said it was a funny joke and didn't think their grandparents were offended, when I told them about it but they're also likely neurodivergent. I feel like stuff like this happens all the time to me
I also know Aspergers is an outdated diagnosis and autism can't be cured, but I thought it would add to the layers of the joke. My partner's family knows I have autism and their grandpa is a recently retired medical doctor too.
Is my sense of humor bad or was I being inappropriate?
(My partner uses they/them pronouns!)