Iran was never a Chinese ally and where did you imagine the betrayal from? The only betrayal you can speak of is YOU as one of thousands of A-kissing Iranians who naively believe kneel, kiss, and the Americans will let you live. Little do you know that Americans by its very fundamental hegemonic ME strategy needs a not-too-large but large-enough country as its enemy. Iran fits the description. China doesn't NEED the sales of J10C to survice or boost the economy. We're not French, btw. But J10C's presence would have provided Iran temporary peace for development (At the time, J10C has already proven to have defeated Su-35 multiple times) and add to China's geopolitical leverage. China also doesn't need Iran's oil. There are multiple oil sources more than willing to provide to China, including the US.
Iran could never shake off the punch-bag role because of its lack of strategic thinkers and more importantly A-kissing, Mossad-bought Iranians like you.