For the sake of other people that may be searching for an answer to this problem, I was able to resolve inline comments with a Confluence Cloud API endpoint as follows:
Before making that call in your preferred language, fetch the existing content to retrieve currentVersion and currentBody so the request above will properly bump the version and keep the comment content unchanged.