The following theorem is stated as being a well-known result of the theory of several complex variables in a book I am reading (on a more or less unrelated subject):
Let $f:\mathbb C^2\to\mathbb C$ be a real-analytic function such that $f$ is holomorphic in the first variable and anti-holomorphic in the second variable. If $f(z,z) = 0$ for all $z\in\mathbb C$, then $f=0$ identically.
1) Can somebody point me to a reference where this is proved, or provide a proof that does not use extensive machinery of several complex variables?
2) What is the necessity of specifying real-analyticity? Is it false that holomorphicity and anti-holomorphicitiy respectively in the two variables implies real-analyticity?
Let's start with part 2). It is indeed redundant to explicitly demand that $f$ be real-analytic. That is however a nontrivial theorem. Hartogs proved that if a function (of several complex variables) is separately holomorphic, then the function is holomorphic. Here, applying that theorem to $g\colon (z,w) \mapsto f(z,\overline{w})$ yields the holomorphicity of $g$ and then the real-analyticity of $f$, as a composition of real-analytic functions.
For part 1), we also use the function $g$. The premise that $f$ vanish on the diagonal means that $g$ vanishes on the conjugate-diagonal $\{(z,\overline{z}) : z \in \mathbb{C}\}$. A modicum of several-variable theory tells us that if $h$ is a holomorphic function on an open subset $U$ of $\mathbb{C}^n$, and there is a $z_0 \in U$ with $h(z_0) = 0$ and $\operatorname{grad} h(z_0) \neq 0$, then the zero set of $h$ is in a neighbourhood of $z_0$ a complex submanifold of dimension $n-1$. Since the conjugate-diagonal is nowhere a complex submanifold of $\mathbb{C}^2$, it follows that $\partial_k g$ vanishes identically there. Iterating the reasoning, it follows that all partial derivatives of $g$ vanish on the conjugate-diagonal, and hence the Taylor series of $g$ with centre $0$ is the zero series, i.e. $g \equiv 0$.