A nice improvement in Emacs 26.1: the manual explains the exact difference between syntax-ppss and parse-partial-sexp: https://github.com/emacs-mirror/emacs/commit/913808e224455dc3c