Create task with comment via JSON RPC

Is it possible to create new Tasks from within JsonString so that they contain a comment?
So as to combine createTask with createComment.