Yes, black ants can bite, but their bites are generally not dangerous.
While black ants are more of a nuisance than a threat, it's important to understand the nature of their bites. They may bite if they feel threatened or if their nest is disturbed. However, unlike some other ant species, black ants typically do not inject formic acid when they bite. Carpenter ants, for example, do inject formic acid, which causes a burning sensation.
Therefore, while a black ant bite might be slightly irritating, it's unlikely to cause significant pain or require medical attention. The primary concern with black ants is their presence in homes and gardens, and the potential contamination of food.