Answer:
Yes, both of them are considered lewis structures
Explanations
Lewis structures are ways in which the valence electron of a compound are arranged around its elements using dots. It represents and shows how electrons are arranged around individual atoms.
In lewis structure, electrons are represented as dots and if it is a bonding electron, it can be represented as lines. Since the elements in the compound given are both non-metals, they are covalently bonded. This shows the reason why one of the lewis structures contains lines.