You know what text is, right? Sarcasm doesn't work on text like it does in person. You also ended your first line with "just a little joke on the matter" so one would expect any "joking" to be over at that point, and your part that you claim is sarcasm is in a separate paragraph by itself.
If you want your sarcasm to get through on text, do a better job at it.
And no, it wasn't out of context, because the rest of your message had no contextual value that would've made your last line stand out any different.