If I were you I would start with the PDF Library SDK which supports the things you're looking for:
- Extract content
- Add comments to documents
One drawback is that you have to apply for it and Adobe may refuse your request.
EDIT:
PDFedit seems promising. It's an open source GUI application that allows you to modify PDF manually or by scripting.