Try to specify size by auto or you can do it manually
var comment = cell.CreateComment(); comment.AddText("This is a comment."); comment.Style.Size.SetAutomaticSize();