You can inherit the property of your parents, children, and spouse. If anyone lists you as the beneficiary in the will, you also have the inheritance rights stated in the will.
China used to have Inheritance Law (Law on Succession). However, after the promulgation of the Civil Code in 2020, China has only the “Book VI Succession” in the Civil Code. In other words, the inheritance law became a part of the civil code.
There is no community property law in China. But you can find the relevant articles in "China’s Civil Code of China: Book V Marriage and Family".
The answer is NO. You don’t have to support your ex-wife after divorce in China.
First of all, you need to know whether the decedent has a will and whether you have inheritance rights in the will. If the decedent does not have a will, then you also need to know whether you are the heir in intestate inheritance. That is, whether you are the decedent’s parent, child, or spouse, if the governing law is Chinese law.
You can file for divorce with either a court in your country or a Chinese court.
We will use a fictional succession-related story to illustrate how inheritance works in China.