Frankly speaking, the Chinese take no position on the Iran-Israel/US issue. We are merely observers.
China does indeed have a competitive relationship with the US. But this is not a reason for China to support Iran. ------ China has a military alliance treaty with North Korea, but China does not provide military support to North Korea.
If Iran does not want Chinese military support, it's simple: just treat China as an ordinary country and don't place too much expectation on it. We also believe that the Iranians are capable of facing these issues independently.
If the Iranians hope to obtain Chinese military support, it's also simple: you need to first study the Chinese way of thinking. There's a Chinese idiom, "投名状." If our Iranian friends can deeply understand this idiom, it will be easy to obtain Chinese military support.
As for Iran's nuclear weapons issue, from an open diplomatic perspective, China certainly will not support Iran possessing nuclear weapons. In practical terms, China will not excessively oppose it. Simply put, we have no stance on this.
In our view, the Iranian military and government have never truly wanted to possess nuclear weapons. They are only pursuing nuclear weapons as a bargaining chip in negotiations with the West.