Well to this day China is getting Iranian energy. This naval blockade is a relic of a past long gone. When you have eyes in the sky and pin point accurate missiles. The US can't even block or free the straight of Hormuz.

Also China is friendly with Russia they have land border so they can build pipelines.