The answer is *yes*. In fact, there is the following

>**Proposition.** Every $2$-dimensional rational singularity is analytically $\mathbb{Q}$-factorial, in particular $\mathbb{Q}$-Gorenstein.

See S. Ishii, *Introduction to Singularities*, Theorem 7.3.2.