Hong Kong stocks have risen, snapping two days of declines, as investors tracked a rebound in the volatile China indices and awaited further developments in Greece.