commentsEnabled property

bool get commentsEnabled

True if the comments are allowed on the portal item, false otherwise.

Will return false if an error occurs.