Rewrite P2 comments as JSDoc-formatted