A function $f : M \to \mathbb{C}$ satisfying $\partial\bar{\partial}f = 0$ is called *pluriharmonic*. In any complex coordinates, a pluriharmonic function is harmonic so it satisfies the maximum principle. It follows that such a function must be locally constant if $M$ is compact (i.e. constant on each connected component of $M$).