So we can agree that sanctioning and blockading countries is effectively an act of war when the US and its vassals do it but if China were to do it, no one on the international diplomatic stage would care at all and would let it slide with no reprisals.
You have not thought this through. At all. It is pathetic.
Boycotting Israel would be a unilateral movement of active hostility that, unfortunately, would be viewed with hostility by the US and its vassals. China gets away with bilateral trade wars because they are acting in response to actions taken against it directly, not for a third party.