4 added 16 characters in body

Let $X$ be a non-compact holomorphic manifold of dimension $1$. Is there a compact Riemann surface $\bar{X}$ suc that $X$ is biholomorphic to an open subset of $\bar{X}$ ?

Edit: To rule out the case where $X$ has infinite genus, perhaps one could add the hypothesis that the topological space $X^{\mathrm{end}}$ (is it a topological surface?), obtained by adding the ends of $X$, has finitely generated $\pi_1$ (or $H_1$ ). Would the new question make sense and/or be of any interest?

Edit2: What happens if we require that $X$ has finite genus? (the genus of a non-compact surface, as suggested in a comment below, can be defined as the maximal $g$ for which a compact Riemann surface $\Sigma_g$ minus one point embeds into $X$)

Let $X$ be a non-compact holomorphic manifold of dimension $1$. Is there a compact Riemann surface $\bar{X}$ suc that $X$ is biholomorphic to an open subset of $\bar{X}$ ?

Edit: To rule out the case where $X$ has infinite genus, perhaps one could add the hypothesis that the topological space $X^{\mathrm{end}}$ (is it a topological surface?), obtained by adding the ends of $X$, has finitely generated $\pi_1$ (or $H_1$ ). Would the new question make sense and/or be of any interest?

Edit2: What happens if we require that $X$ has finite genus? (the genus of a non-compact surface, as suggested in a comment below, can be defined as the maximal $g$ for which a compact Riemann surface $\Sigma_g$ embeds into $X$)

Let $X$ be a non-compact holomorphic manifold of dimension $1$. Is there a compact Riemann surface $\bar{X}$ suc that $X$ is biholomorphic to an open subset of $\bar{X}$ ?
Edit: To rule out the case where $X$ has infinite genus, perhaps one could add the hypothesis that the topological space $X^{\mathrm{end}}$ (is it a topological surface?), obtained by adding the ends of $X$, has finitely generated $\pi_1$ (or $H_1$ ). Would the new question make sense and/or be of any interest?