This belongs to Article 25 of the Patent Law: The rules and methods of intellectual activities do not grant patent rights.
Similar inventions that cannot be patented include memorizing words, marketing methods, and practicing calligraphy.