  In Atazadeh and Hadi (JCAP \textbf{01}, 067 (2024)), the authors proposed
that black bounce solutions, such as the Simpson-Visser and the Bardeen-type
spacetimes, can be obtained from Rastall gravity. To achieve these spacetimes,
the authors consider the presence of a phantom scalar field with nonlinear
electrodynamics. However, in this comment, we obtained different
electromagnetic Lagrangians from the original work. The most problematic issue
is not the incorrect expression of the electromagnetic Lagrangian itself. We
show that the method obtains electromagnetic functions that are inconsistent.
To obtain the black bounce spacetimes as solutions of Rastall gravity, it is
necessary to consider an isotropic fluid, combined with the nonlinear
electrodynamics and the phantom scalar field.
